package com.huaishushu.mapper;
import org.apache.ibatis.annotations.Param;

import com.huaishushu.entity.Dish;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 菜品管理 Mapper 接口
 * </p>
 *
 * @author ChiBaoBaoHuaiShuShu
 * @since 2023-05-28
 */
@Mapper
public interface DishMapper extends BaseMapper<Dish> {

    /**
     * 根据id修改菜品状态信息
     * @param status
     * @param id
     * @return
     */
    int updateStatusById(@Param("status") Integer status, @Param("id") Long id);


}
